import { BASE_PRE } from "../utils/base.js";

const mqtt = {};

mqtt.getTable ={
    url: BASE_PRE + "mqtt/pages",
    method: "post",
}


mqtt.save ={
    url: BASE_PRE + "mqtt/save",
    method: "post",
}

mqtt.del ={
    url: BASE_PRE + "mqtt/del",
    method: "get",
}


mqtt.enable ={
    url: BASE_PRE + "mqtt/enable",
    method: "post",
}

mqtt.disable ={
    url: BASE_PRE + "mqtt/disable",
    method: "post",
}



export default mqtt;
